<template>
  <view class="container-adsense">
    <image @click="handleAdsense" src="@/static/images/广告位.png" mode="widthFix"></image>
  </view>
</template>

<script>
  import point from '@/network/point.js'
  export default {
    props:['phone'],
    name:"adsense",
    data() {
      return {
        
      };
    },
    methods:{
      handleAdsense(){
        window.open('https://u.10010.cn/qAtxr')
        point({
          action_code:"910000006",//对照表填 必须传
          action_type:"click",//对照表填 必须传
          source_url: "910000000", //对照表填 必须传
          present_url: "910000000",//对照表填 必须传
          params: [{
            k: "active_id",  //必须传
            v: "tmhd",
          },
          {
            k: "user_phone", //必须传
            v: this.phone || '10010',
          },
          {
            k: "user_ip",  // 必须传
            v: getApp().globalData.ip,
          }
        ]})
      }
    }
  }
</script>

<style lang="less">

  .container-adsense{
    padding-top: 22rpx;
    uni-image{
      width: 100%;
      border-radius: 20rpx;
    }
  } ///   .container-adsense end
</style>